#ifndef STATEMAIN_H
#define STATEMAIN_H

#include "userStates.h"     // Make sure your state is listed in this include.

#include "Sprite.h"
#include "Music.h"
#include "CountDown.h"
#include "Text.h"
#include "Menu.h"
#include "FileLister.h"

class StateMain : public BaseState
{
    public:
        StateMain();
        virtual ~StateMain();
        virtual void render();
        virtual void update();
        virtual void userInput();

        static void timerCallback(void* object); // moves the bg up and down

        Sprite bg;
        Music theme;
        CountDown bgMovementCounter;
        Text title;
        Menu mainMenu;
        FileLister fileBrowser;
        float bgYmovement;
        float bgYpos;
        int state;
        enum eStates
        {
            stMenu=0,
            stLevelSelect
        };
};

#endif
